package com.model;

import java.sql.Date;

/**
 * Orderdetail entity. 
 * @author 0912652
 */

public class Orderdetail implements java.io.Serializable {

	// Fields

	private Integer dtilid;
	private Room room;
	private Order order;
	private Date ctime;
	private Date ltime;

	// Constructors

	/** default constructor */
	public Orderdetail() {
	}

	/** full constructor */
	public Orderdetail(Room room, Order order, Date ctime, Date ltime) {
		this.room = room;
		this.order = order;
		this.ctime = ctime;
		this.ltime = ltime;
	}

	// Property accessors

	public Integer getDtilid() {
		return this.dtilid;
	}

	public void setDtilid(Integer dtilid) {
		this.dtilid = dtilid;
	}

	public Room getRoom() {
		return this.room;
	}

	public void setRoom(Room room) {
		this.room = room;
	}

	public Order getOrder() {
		return this.order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public Date getCtime() {
		return this.ctime;
	}

	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}

	public Date getLtime() {
		return this.ltime;
	}

	public void setLtime(Date ltime) {
		this.ltime = ltime;
	}

}